package com.shine.spring.boot.action.websocket.controller.page;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author: Forward Seen
 * @description:
 * @createTime: 2023/9/27 11:38
 * @since: 1.0
 */
@RestController
@RequestMapping("/page")
public class WebPage {

    @RequestMapping("/websocket")
    public ModelAndView websocket() {
        return new ModelAndView("websocket");
    }
}
